<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <select name="" id="">
    <option value="林心如">林心如</option>
    <option value="霍建华">霍建华</option>
    <option value="baby">baby</option>
    <option value="蔡徐坤">蔡徐坤</option>
  </select>
  <script>
    var select = document.querySelector('select');

    select.onchange = function(){
      console.log('选中的值发生了变化...');
    }
  </script>
</body>
</html>